package com.software.service;

import com.software.bean.CustomerAddressBean;
import com.baomidou.mybatisplus.extension.service.IService;
import com.software.dto.AddAddressDto;
import com.software.dto.UpdateAddressDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wyj
 * @since 2024-03-31
 */
public interface CustomerAddressService extends IService<CustomerAddressBean> {

    Integer addAddress(AddAddressDto addAddressDto);

    List<CustomerAddressBean> addressList(Integer cid);

    CustomerAddressBean getAddressByAddressId(Integer aId);

    Integer updateAddress(UpdateAddressDto updateAddressDto);

    Integer deleteAddressById(Integer id);
}
